package com.changgou.user.dao;

import com.changgou.user.pojo.PointLog;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

/**
 * @description:
 * @author: 大佬味的小男孩
 * @date: 2020-08-04 14:57
 **/
public interface PointLogMapper extends Mapper<PointLog> {

    //判断当前任务是否操作过
    @Select("select * from tb_point_log where order_id =#{orderId} ")
    PointLog findPointLogByOrderId(@Param("orderId") String orderId);









}
